package st.business.tepth.business.taskallocation.lag;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v7.widget.RecyclerView;
import android.view.View;
import android.widget.RadioGroup;

import butterknife.BindView;
import st.business.tepth.R;
import st.business.tepth.R2;
import st.business.tepth.business.bean.LagInfoBean;
import st.shadow.library.core.base.fragment.BaseFragment;

/**
 * @author zhangyu
 * @date 2019/6/13
 */
public class ContentFragment extends BaseFragment {
    public static ContentFragment newInstance(LagInfoBean lagInfoBean) {
        Bundle bundle = new Bundle();
        bundle.putParcelable("info", lagInfoBean);
        ContentFragment delegate = new ContentFragment();
        delegate.setArguments(bundle);
        return delegate;
    }

    @BindView(R2.id.recycler_view_repair)
    RecyclerView mRecyclerViewRepair;
    @BindView(R2.id.recycler_view_maintain)
    RecyclerView mRecyclerViewMaintain;
    @BindView(R2.id.radio_group)
    RadioGroup mRadioGroup;
    private LagInfoBean mLagInfoBean;

    @Override
    public void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        Bundle bundle = getArguments();
        if(bundle != null){
            mLagInfoBean = bundle.getParcelable("info");
        }
    }

    @Override
    public Object setLayout() {
        return R.layout.fragment_lag;
    }

    @Override
    public void onBindView(@Nullable Bundle savedInstanceState, View rootView) {

    }
}
